package edu.sdust.ssmstudy.dao;

import edu.sdust.ssmstudy.json.PaInfo;
import edu.sdust.ssmstudy.pojo.Jobs;
import edu.sdust.ssmstudy.pojo.Money;
import edu.sdust.ssmstudy.pojo.Trades;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface JobsMapper extends Mapper<Jobs> {

    List<String> SelectDifEx();

    Integer GetExCount(String work_experience);

    int CityCount(String city);

    List<String> SelectDifCity();

    List<Jobs> GetmaxofferTop();

    List<Jobs> SelectByCity(String city);

    List<Trades> GetTopCityTrades(String title);
    List<Trades> GetCityCount();
    List<Trades> GetWxCount(String title);

    List<Jobs> GetPageInfo(PaInfo pageInfo);
    List<Trades> GetTradesHot(String title);
    List<Money> GetMaxTop(String title);
    Integer TradesInfo(String trades);
    Integer TitleInfo(String title);
}